package org.thirdHero.wx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages={"org.thirdHero.core.*", "org.thirdHero.wx.*","org.thirdHero.db.*"})
@MapperScan({"org.thirdHero.db.dao","org.thirdHero.sys.dao"})
@EnableTransactionManagement
@EnableScheduling
@EnableRabbit
public class CustomerApplication {
    public static void main(String[] args) {
        SpringApplication.run(CustomerApplication.class, args);
    }
}
